package com.xinsmartsky.penmaji.model;

public class MemRegionModel {
	public final int systemParamsRegion400 = 0;
	//喷印、数码条开关设置区
	public final int systemPrintSwitchRegion500 = 0x500;
	public final int systemPrintParamInputRegion600 = 0x200;

	//系统保留区  暂时未使用
	public final int systemReservedRegion700 = 0x300;


	//图标1页的设定参数区，及设定参数转换区
	public final int systemIcon1ParamAndRevertRegion800 = 0x400;
	//图标2页的设定参数区，及设定参数转换区0x100
	public final int systemIcon2ParamAndRevertRegion900 = 0x500;
	public final int systemIcon3ParamAndRevertRegiona00 = 0x600;
	public final int systemIcon4ParamAndRevertRegionb00 = 0x700;
	public final int systemIcon5ParamAndRevertRegionc00 = 0x800;

	//系统保留区  暂时未使用0x100
	public final int systemReservedRegiond00 = 0x900;
	public final int systemReservedRegione00 = 0xa00;
	public final int systemReservedRegionf00 = 0xb00;

	//数码条1页的信息和参数区, 及设定参数转换区
	public final int systemNum1InfoAndParamsAndParamRevertRegion1000 = 0x1000;
	public final int systemNum2InfoAndParamsAndParamRevertRegion1200 = 0x1200;
	public final int systemNum3InfoAndParamsAndParamRevertRegion1400 = 0x1400;
	public final int systemNum4InfoAndParamsAndParamRevertRegion1600 = 0x1600;
	//数码条5页的信息和参数区, 及设定参数转换区
	public final int systemNum5InfoAndParamsAndParamRevertRegion1800 = 0x1800;

	//字条16*16 在数据块中的起始下标
	public final int Chinese_16 = 4866;
	//图标24*24 在数据块中的起始下标
	public final int drawing_24 = 21762;
	//图标32*32 在数据块中的起始下标
	public final int drawing_32 = 24322;
	//英文 数字 设置参数 的 地址数组
	//需要修改数值的在前 开关选择在后 0x11a2； 将数值转换为ASCII码
	public final int[] EAD_AddrArray = new int[]{0x1164 ,0x1165 ,0x1174 , 0x1175, 0x1182, 0x1192 ,
			0x11a0 ,0x11ac ,0x11ad ,0x11a ,0x11c0 ,0x11c1 ,0x11c2 ,0x11c3 ,0x11c4 ,0x11c5 ,
			0x11c8 ,0x11c9 ,0x11ca ,0x11cb ,0x11cc ,0x11cd ,0x11cf ,0x11a2 ,0x11e2 ,0x11ec};
	/*
	 * SP.No=001  16*16*N(100)
	 * 2*16*100=3200(0CB0H)
	 * 0D00H*5=4100H(16.25KB)
	 */
	//SP1图标1区域0xd00
	public final int systemSP1Icon1Region1A00 = 0x1600;
	//SP1图标2区域
	public final int systemSP1Icon2Region2700 = 0x2300;
	//SP1图标3区域
	public final int systemSP1Icon3Region3400 = 0x3000;
	//SP1图标4区域
	public final int systemSP1Icon4Region4100 = 0x3d00;
	//SP1图标5区域
	public final int systemSP1Icon5Region4e00 = 0x4a00;
	//SP1数据2  0x100
	public final int systemSP1Data2Region5b00 = 0x5700;
	/*
	 SP.No=002  24*3*N(40)
	 * 3*3*40=360(0168H)
	 * 0200H*5=0A00H(2.5KB)
	 */
	//SP2图标1区域
	public final int systemSP2Icon1Region5c00 = 0x5800;
	//SP2图标2区域
	public final int systemSP2Icon2Region5e00 = 0x5a00;
	//SP2图标3区域
	public final int systemSP2Icon3Region6000 = 0x5c00;
	//SP2图标4区域
	public final int systemSP2Icon4Region6200 = 0x5e00;
	//SP2图标5区域
	public final int systemSP2Icon5Region6400 = 0x6000;
	
	/*
	 * SP.No=003  32*3*N(40)
	 * 4*3*40=480(01E8H) 
	 * 0200H*5=0A00H(2.5KB)
	 */
	//SP3图标1区域
	public final int systemSP3Icon1Region6600 = 0x6200;
	//SP3图标2区域
	public final int systemSP3Icon2Region6800 = 0x6400;
	//SP3图标3区域
	public final int systemSP3Icon3Region6a00 = 0x6600;
	//SP3图标4区域
	public final int systemSP3Icon4Region6c00 = 0x6800;
	//SP3图标5区域
	public final int systemSP3Icon5Region6e00 = 0x6a00;

	//用于保存机器当前的状态
	//包括从串口来的数据和发给串口的数据
	private byte [] SystemStatusParams = new byte [0x7000];

	public byte[] getSystemStatusParams() {
		return SystemStatusParams;
	}

	public void setSystemStatusParams(byte[] systemStatusParams) {
		SystemStatusParams = systemStatusParams;
	}
	
}
